package com.jingtai.platform.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jingtai.core.entity.admin.PlatformAccount;
import com.jingtai.platform.util.ResultUtil;

import javax.servlet.http.HttpServletRequest;

/**
 * 平台账户表
 *
 * @author sunlaiqian
 * @date 2020-12-02 18:31:32
 */
public interface PlatformAccountService extends IService<PlatformAccount> {

    ResultUtil PlatformAccountlist(Integer page, Integer limit, String conditions);

    ResultUtil getPlatformAccountById(Long id);

    ResultUtil addPlatformAccount(PlatformAccount platformAccount);

    ResultUtil editPlatformAccount(PlatformAccount platformAccount);

    ResultUtil delPlatformAccountById(Long id);

    ResultUtil platformLogin(PlatformAccount platformAccount);

    ResultUtil platformLogOut(HttpServletRequest request);

    ResultUtil unLock(Long id,String password);
}

